home *** CD-ROM | disk | FTP | other *** search
/ The Trig Explorer / The Trig Explorer.iso / mac / Explorer / plot.dxr / 00204.ls < prev    next >
Encoding:
Text File  |  2000-08-01  |  364 b   |  12 lines

  1. on exitFrame
  2.   set the trails of sprite 19 to 1
  3.   set x0 to the locH of sprite 15
  4.   set y0 to the locV of sprite 15
  5.   repeat with n = 0 to 120
  6.     set the locH of sprite 19 to (2.39999999999999991 * n) + x0
  7.     set the locV of sprite 19 to y0 - (50.0 * float(sin(float(n * 3.0 * PI / 180.0))))
  8.     updateStage()
  9.   end repeat
  10.   set the trails of sprite 19 to 0
  11. end
  12.